//
//  RadioCell.m
//  Leisure
//
//  Created by xalo on 16/6/30.
//  Copyright © 2016年 朱旭东. All rights reserved.
//

#import "RadioCell.h"
@interface RadioCell()
@property (weak, nonatomic) IBOutlet UIImageView *covrimg;
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UILabel *uname;
@property (weak, nonatomic) IBOutlet UILabel *desc;
@property (weak, nonatomic) IBOutlet UIButton *count;

@end
@implementation RadioCell
- (void)awakeFromNib {

}

- (void)setCellWithModel:(RadioModel *)model{

    [self.covrimg  sd_setImageWithURL:[NSURL URLWithString:model.coverimg]];
    self.title.text = model.title;
    self.uname.text = model.uname;
    self.desc.text = model.desc;
    [self.count setTitle:[NSString stringWithFormat:@"%@",model.count] forState:UIControlStateNormal];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

  
}

@end
